import request from '@/utils/request'


// 获取列表
export function billGetList(pd) {
  return request({
    url: '/fms/bill/getList',
    method: 'get',
    params: pd
  })
}

// 获取条数
export function billGetCount(pd) {
  return request({
    url: '/fms/bill/getCount',
    method: 'get',
    params: pd
  })
}

// 新增
export function billAdd(data) {
  return request({
    url: '/fms/bill',
    method: 'post',
    data: data
  })
}

// 修改
export function billEdit(pd) {
  return request({
    url: '/fms/bill',
    method: 'put',
    data: pd
  })
}

// 删除参数配置
export function billDel(id) {
  return request({
    url: '/fms/bill/id/' + id,
    method: 'delete'
  })
}


// 获取列表
export function billGetTypeList(pd) {
  return request({
    url: '/fms/bill/getTypeList',
    method: 'get',
    params: pd
  })
}